import React from 'react'
import { Button } from 'antd'
import LocalDate from '@/utils/localDate.js'
export default (self) => {
  return [
    {
      title: '角色名称',
      key: 'name',
      dataIndex: 'name',
    },
    {
      title: '创建时间',
      key: 'create_time',
      dataIndex: 'create_time',
      render: (value) => new LocalDate(value).format('yyyy年MM月dd日 hh:mm:ss'),
    },
    {
      title: '授权时间',
      key: 'auth_time',
      dataIndex: 'auth_time',
      render: (value) => new LocalDate(value).format('yyyy年MM月dd日 hh:mm:ss'),
    },
    {
      title: '授权人',
      key: 'auth_name',
      dataIndex: 'auth_name',
    },
  ]
}
